
package holamundo;

public class Main {

    public static void saludar(String user)
    {
        System.out.println("Hola " + user);
    }
    
     public static void saluda(String user)
    {
        System.out.println("Hola " + user);
    }

    public static void saludar(int indi, String... user)
    {
        System.out.println("Hola " + user[indi]);
    }
    
    public static void main(String[] args)
    {
        System.out.println("Hola Mundo!!!");

        String [] cades = {"oscar", "Elba"};
        
        Main.saludar(1,cades);
    }

}
